var n = require("../../model/awconfig.js");

require("../../utils/util.js"), getApp();

Page({
    data: {},
    onLoad: function(a) {
        var o = this, t = wx.getStorageSync("TForwardItem");
        if (null != t) {
            var e = JSON.parse(decodeURI(t));
            console.log(e);
            var i = e.type;
            if (o.setData({
                tforwardItem: e,
                type: i
            }), "f_imgurl" == i) {
                var c = e.imgURLs;
                if (null == c && (c = e.urls), null != c && "" != c) {
                    var s = c.split(";");
                    o.setData({
                        images: s
                    });
                }
            }
        }
        n.registerConfigCallback(function() {
            o.awconfigSuccessCallback();
        }, function(n) {}), o.awconfigSuccessCallback();
    },
    awconfigSuccessCallback: function() {
        var n = wx.getStorageSync("appConfig");
        this.setData({
            config: n
        });
    },
    onReady: function() {},
    onShow: function() {},
    onHide: function() {},
    onUnload: function() {},
    onPullDownRefresh: function() {},
    onReachBottom: function() {},
    onShareAppMessage: function() {}
});